package com.example.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Coach {
    private Integer id;
    private String name;
    private String intro;
    private boolean gender;
    private float mark;
    private int count;
    private String picurl;

    private float realMark;
    public float getRealMark(){
        return mark/count;
    }
//    public String getRealPicUrl(){
//        return "/download?filePath="+picurl;
//    }

}
